#pragma once
#include "interfaces.h"
#include "AssetData.h"
#include "Geometry.h"
#include "RandomEngine.h"
class RE_Material : public AssetData
{
public:
	RE_Material(D3DXVECTOR4 Diffuse, D3DXVECTOR4 Ambient, D3DXVECTOR4 Specular);
	RE_Material();
	~RE_Material();
	
	static const AssetType m_MaterialType;
	virtual const AssetType & GetAssetType()
	{
		return m_MaterialType;
	}

	virtual bool Restore();

	virtual bool Release();

	D3DXVECTOR4		m_Diffuse;
	D3DXVECTOR4		m_Ambient;
	D3DXVECTOR4		m_Specular;
	float			m_SpecularPower;
	AssetDataPtr	m_Texture;
};